package com.cedric.yixianpai.game.interfaces;

import java.io.Serializable;
import java.util.List;

/**
 * 人物角色
 * 包含门派、技能
 * 需要被继承实现
 */
public abstract class Character implements Serializable {
    private String name;
    private List<Skill> skills;
    private String sect;//门派

    public Character(String name,List<Skill> skills, String sect) {
        this.name = name;
        this.skills = skills;
        this.sect = sect;
    }//完整定义

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Skill> getSkills() {
        return skills;
    }

    public void setSkills(List<Skill> skills) {
        this.skills = skills;
    }

    public String getSect() {
        return sect;
    }

    public void setSect(String sect) {
        this.sect = sect;
    }
}
